import { Subject } from 'rxjs'
const demoSubject = new Subject()
demoSubject.subscribe(value => {
  console.log(value)
})
demoSubject.subscribe(value => {
  console.log(value)
})
setTimeout(() => {
  demoSubject.next("hello")
}, 2000)
